package com.bjsxt.service;

import com.bjsxt.dao.UserMapper;
import com.bjsxt.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 苏犇 on 2018/12/30. <br>
 */
@Service(value = "userServer")
public class UserServer {
    @Autowired
    UserMapper userMapper;


    public User login(String username, String password) {
        return userMapper.selectByUsernamePassword(username, password);
    }
}
